🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
Object is already deleted
This page was created by Lars.olofsson on 2022-12-28. Last edited by Stephanie on 2025-02-11.

If you get the error message "Object is already deleted" in the client or in logs, your EAL is trying to delete an object that has already been deleted.

How can one even try to delete a deleted object? An object in an ECO space is not removed from the ECO space until it's saved. Until then, the object is still there and can be accessed through an earlier obtained reference.

Do something like this to avoid such a situation:

object.existing.whenTrue(object.delete)

See also: OCLOperators existing

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments